
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>智能合约设置背书策略 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="chap10.html" />
    
    
    <link rel="prev" href="chap8.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    编译部署
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="chap1.html">
            
                <a href="chap1.html">
            
                    
                    编译与测试网络部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="chap2.html">
            
                <a href="chap2.html">
            
                    
                    网络生成配置说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="chap3.html">
            
                <a href="chap3.html">
            
                    
                    启动网络脚本配置剖析
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    通道实践
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="chap4.html">
            
                <a href="chap4.html">
            
                    
                    创建加入通道
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="chap5.html">
            
                <a href="chap5.html">
            
                    
                    更新通道配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="chap6.html">
            
                <a href="chap6.html">
            
                    
                    动态添加组织
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    合约实践
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="chap7.html">
            
                <a href="chap7.html">
            
                    
                    安装发布智能合约
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="chap8.html">
            
                <a href="chap8.html">
            
                    
                    升级智能合约
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.3" data-path="chap9.html">
            
                <a href="chap9.html">
            
                    
                    智能合约设置背书策略
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="chap10.html">
            
                <a href="chap10.html">
            
                    
                    调试go智能合约
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="chap11.html">
            
                <a href="chap11.html">
            
                    
                    外部构建启动合约
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    SDK实践
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="chap12.html">
            
                <a href="chap12.html">
            
                    
                    基于Java SDK实现合约交易
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >智能合约设置背书策略</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="1&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x5B9A;&#x4E49;">1.&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x5B9A;&#x4E49;</h2>
<p>&#x667A;&#x80FD;&#x5408;&#x7EA6;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x7528;&#x6765;&#x5B9A;&#x4E49;&#x4EA4;&#x6613;&#x662F;&#x5426;&#x5408;&#x6CD5;&#x7684;&#x5224;&#x65AD;&#x6761;&#x4EF6;&#xFF0C;&#x7B56;&#x7565;&#x4EE5;&#x4E3B;&#x4F53;&#x7684;&#x5F62;&#x5F0F;&#x8868;&#x793A;&#x3002;&#x4E3B;&#x4F53;&#x683C;&#x5F0F;&#x4E3A;&apos;MSP.ROLE&apos;&#xFF0C; MSP&#x4EE3;&#x8868;&#x6240;&#x8981;&#x6C42;&#x7684;MSPID&#xFF0C; ROLE&#x8868;&#x793A;&#x89D2;&#x8272;&#xFF0C;&#x4E00;&#x5171;&#x6709;&#x56DB;&#x79CD;&#x5408;&#x6CD5;&#x89D2;&#x8272;&#xFF1A;member, admin, client, peer&#x3002;</p>
<h2 id="2-&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x8BED;&#x6CD5;">2. &#x80CC;&#x4E66;&#x7B56;&#x7565;&#x8BED;&#x6CD5;</h2>
<p>&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x7684;&#x8BED;&#x6CD5;&#x5982;&#x4E0B;&#xFF1A;
EXPR(E[, E...])
EXPR&#x53EF;&#x4EE5;&#x662F;AND&#x3001;OR&#x3001;OutOf&#xFF0C;E&#x53EF;&#x4EE5;&#x662F;&#x4E00;&#x4E2A;&#x4E0A;&#x9762;&#x793A;&#x4F8B;&#x7684;&#x4E3B;&#x4F53;&#x6216;&#x8005;&#x662F;&#x53E6;&#x4E00;&#x4E2A;&#x5D4C;&#x5957;&#x7684;EXPR&#x7B56;&#x7565;&#x3002;&#x793A;&#x4F8B;&#x5982;&#x4E0B;&#xFF1A;
AND(&apos;Org1.member&apos;, &apos;Org2.member&apos;, &apos;Org3.member&apos;) &#xFF1A;&#x8981;&#x6C42;&#x4E09;&#x4E2A;&#x4E3B;&#x4F53;&#x4E2D;&#x6BCF;&#x4E00;&#x4E2A;&#x4E3B;&#x4F53;&#x90FD;&#x8981;&#x7B7E;&#x540D;&#x3002;
OR(&apos;Org1.member&apos;, &apos;Org2.member&apos;) &#xFF1A;&#x8981;&#x6C42;&#x4E09;&#x4E2A;&#x4E3B;&#x4F53;&#x4E2D;&#x81F3;&#x5C11;&#x6709;&#x4E00;&#x4E2A;&#x4E3B;&#x4F53;&#x7B7E;&#x540D;&#x3002;
OR(&apos;Org1.member&apos;, AND(&apos;Org2.member&apos;, &apos;Org3.member&apos;))&#xFF1A;&#x8981;&#x6C42;&#x540C;&#x65F6;&#x6709;&#x4E3B;&#x4F53;Org1.member&#x7684;&#x7B7E;&#x540D;&#xFF0C;&#x4EE5;&#x53CA;&#x4E3B;&#x4F53;Org2.member&#x4E0E;Org3.member&#x4E2D;&#x81F3;&#x5C11;&#x4E00;&#x4E2A;&#x4E3B;&#x4F53;&#x7684;&#x7B7E;&#x540D;&#x3002;
OutOf(2, &apos;Org1.member&apos;, &apos;Org2.member&apos;, &apos;Org3.member&apos;) &#xFF1A;&#x8981;&#x6C42;&#x4E09;&#x4E2A;&#x4E3B;&#x4F53;&#x4E2D;&#xFF0C;&#x81F3;&#x5C11;&#x6709;&#x4E24;&#x4E2A;&#x4E3B;&#x4F53;&#x7B7E;&#x540D;&#x3002;</p>
<h2 id="3-&#x8BBE;&#x7F6E;&#x80CC;&#x4E66;&#x7B56;&#x7565;">3. &#x8BBE;&#x7F6E;&#x80CC;&#x4E66;&#x7B56;&#x7565;</h2>
<p>fabric2.0&#x667A;&#x80FD;&#x5408;&#x7EA6;&#x8BBE;&#x7F6E;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x5F97;&#x65B9;&#x5F0F;&#x4E3B;&#x8981;&#x6709;&#x4E24;&#x79CD;&#xFF0C;&#x4E00;&#x79CD;&#x662F;&#x901A;&#x8FC7;&#x63D0;&#x4EA4;&#x5408;&#x7EA6;&#x7684;&#x65F6;&#x5019;&#x8BBE;&#x7F6E;&#xFF0C;&#x6211;&#x4EEC;&#x79F0;&#x4E4B;&#x4E3A;&#x5408;&#x7EA6;&#x7EA7;&#x522B;&#x7684;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#xFF0C;&#x4E00;&#x79CD;&#x662F;&#x76F4;&#x63A5;&#x901A;&#x8FC7;&#x5408;&#x7EA6;&#x52A8;&#x6001;&#x8BBE;&#x7F6E;&#xFF0C;&#x6211;&#x4EEC;&#x79F0;&#x4E4B;&#x4E3A;&#x952E;&#x7EA7;&#x522B;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x3002;</p>
<h3 id="31-&#x5408;&#x7EA6;&#x7EA7;&#x522B;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x8BBE;&#x7F6E;">3.1 &#x5408;&#x7EA6;&#x7EA7;&#x522B;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x8BBE;&#x7F6E;</h3>
<p>&#x6240;&#x8C13;&#x5408;&#x7EA6;&#x7EA7;&#x522B;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#xFF0C;&#x5C31;&#x662F;&#x5728;&#x8FD9;&#x4E2A;&#x5408;&#x7EA6;&#x7684;&#x4EA4;&#x6613;&#x90FD;&#x5FC5;&#x987B;&#x9075;&#x5FAA;&#x8FD9;&#x4E2A;&#x7B56;&#x7565;&#xFF0C;&#x5728;&#x9ED8;&#x8BA4;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x5373;&#x4E0D;&#x8BBE;&#x7F6E;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#xFF0C;&#x5408;&#x7EA6;&#x7684;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x4E3A;majority of channel members,&#x8FC7;&#x534A;&#x6570;&#x901A;&#x9053;&#x6210;&#x5458;&#x3002;</p>
<p>&#x8F93;&#x5165;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;&#x8BBE;&#x7F6E;&#x5408;&#x7EA6;&#x7EA7;&#x522B;&#x80CC;&#x4E66;&#x7B56;&#x7565;
&#x80CC;&#x4E66;&#x7B56;&#x7565;&quot;OR(&apos;Org1.member&apos;, &apos;Org2.member&apos;)&quot; &#x7EC4;&#x7EC7;1&#x6210;&#x5458;&#x6216;&#x8005;&#x7EC4;&#x7EC7;2&#x6210;&#x5458;&#x80CC;&#x4E66;&#x5373;&#x6EE1;&#x8DB3;</p>
<pre><code class="lang-bash"> peer lifecycle chaincode approveformyorg  --signature-policy <span class="hljs-string">&quot;OR(&apos;Org1MSP.member&apos;,&apos;Org2MSP.member&apos;)&quot;</span> --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem --channelID mychannel --name mycc --version 1 --init-required --package-id mycc_1:4ad799ccef18d596f8c175fe1849cadc63f92a5efb1e7332712fbb2827a2ec6f --sequence 2 --waitForEvent
</code></pre>
<p> --signature-policy&#xFF1A;&#x8BBE;&#x7F6E;&#x80CC;&#x4E66;&#x7B56;&#x7565;</p>
<p>&#x51FA;&#x73B0;&#x4EE5;&#x4E0B;&#x9519;&#x8BEF;&#xFF1A;
<code>Error: proposal failed with status: 500 - failed to invoke backing implementation of &apos;ApproveChaincodeDefinitionForMyOrg&apos;: currently defined sequence 3 is larger than requested sequence 2</code></p>
<p>&#x5E8F;&#x5217;&#x53F7;&#x4E0D;&#x662F;&#x5F53;&#x524D;&#x5408;&#x7EA6;&#x5E8F;&#x5217;&#x53F7;&#xFF0C;&#x53EA;&#x9700;&#x8981;&#x6539;&#x6210;&#x6700;&#x65B0;&#x7684;&#x5E8F;&#x53F7;&#x5373;&#x53EF;&#xFF0C;&#x5047;&#x5982;&#x662F;&#x8FD9;&#x91CC;&#xFF0C;sequence&#x503C;&#x6539;&#x6210;3&#x5373;&#x53EF;</p>
<p><code>Error: proposal failed with status: 500 - failed to invoke backing implementation of &apos;ApproveChaincodeDefinitionForMyOrg&apos;: attempted to redefine uncommitted sequence (4) for namespace mycc with unchanged content</code></p>
<p>&#x5B58;&#x5728;&#x5F53;&#x524D;&#x6700;&#x65B0;&#x7684;&#x5408;&#x7EA6;&#x6CA1;&#x6709;commit&#xFF0C;&#x65E0;&#x6CD5;&#x8FDB;&#x884C;&#x65B0;&#x7684;approve&#xFF0C;&#x53EA;&#x9700;&#x8981;&#x5C06;&#x6700;&#x65B0;&#x7684;commit&#x540E;&#x518D;&#x8FDB;&#x884C;&#x8FD9;&#x6B21;&#x65B0;&#x7684;approve&#x5373;&#x53EF;&#x3002;</p>
<p>&#x5207;&#x6362;&#x8282;&#x70B9;&#x91CD;&#x590D;&#x547D;&#x4EE4;&#xFF0C;&#x77E5;&#x9053;&#x6EE1;&#x8DB3;lifecycle&#x7B56;&#x7565;
<img src="https://img-blog.csdnimg.cn/20200218173818197.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x5047;&#x5982;&#x5728;&#x64CD;&#x4F5C;&#x4E0A;&#x90FD;approve&#x6210;&#x529F;&#x4E86;&#xFF0C;&#x8FD8;&#x662F;&#x51FA;&#x73B0;&#x4EE5;&#x4E0B;&#x60C5;&#x51B5;&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/20200218173828886.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;">
<code>&#x6211;&#x7684;&#x5B9E;&#x8DF5;&#x662F;&#x76F4;&#x63A5;&#x5148;commit&#xFF0C;commit&#x6210;&#x529F;&#x5C31;&#x53EF;&#x4EE5;&#x7EE7;&#x7EED;&#x8D70;</code></p>
<h4 id="312-&#x63D0;&#x4EA4;&#x5408;&#x7EA6;">3.1.2 &#x63D0;&#x4EA4;&#x5408;&#x7EA6;</h4>
<p>&#x6BCF;&#x6B21;&#x8C03;&#x7528;&#x5B8C;approve&#x4E4B;&#x540E;&#xFF0C;&#x5FC5;&#x987B;commit&#x624D;&#x80FD;&#x8D77;&#x6548;&#x3002;</p>
<p>&#x63A7;&#x5236;&#x53F0;&#x8F93;&#x5165;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;</p>
<pre><code class="lang-bash"> peer lifecycle chaincode commit -o orderer.example.com:7050 --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem --channelID mychannel --name mycc --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0.org2.example.com:9051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt --version 1 --sequence 2 --init-required    --signature-policy <span class="hljs-string">&quot;OR(&apos;Org1MSP.member&apos;,&apos;Org2MSP.member&apos;)&quot;</span>
</code></pre>
<p>&#x63A7;&#x5236;&#x53F0;&#x8F93;&#x51FA;&#x4EE5;&#x4E0B;&#x7ED3;&#x679C;&#x8868;&#x793A;&#x6210;&#x529F;
<img src="https://img-blog.csdnimg.cn/20200218173853438.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x6B64;&#x65F6;&#x67E5;&#x8BE2;a&#x7684;&#x503C;&#x4E3A;90</p>
<p><img src="https://img-blog.csdnimg.cn/20200218173920415.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<h4 id="313-&#x9A8C;&#x8BC1;&#x80CC;&#x4E66;&#x7B56;&#x7565;">3.1.3 &#x9A8C;&#x8BC1;&#x80CC;&#x4E66;&#x7B56;&#x7565;</h4>
<p>3.2&#x8BBE;&#x7F6E;&#x7684;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x4E3A;&#x7EC4;&#x7EC7;1&#x6210;&#x5458;&#x6216;&#x8005;&#x7EC4;&#x7EC7;2&#x6210;&#x5458;&#x80CC;&#x4E66;&#x5373;&#x6EE1;&#x8DB3;&#xFF0C;
&#x6B64;&#x65F6;&#x6307;&#x5B9A;&#x80CC;&#x4E66;&#x8282;&#x70B9;&#x4E3A;peer0.org1.example.com</p>
<pre><code class="lang-bash"> peer chaincode invoke -o orderer.example.com:7050 --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C mychannel -n mycc --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt  -c <span class="hljs-string">&apos;{&quot;Args&quot;:[&quot;invoke&quot;,&quot;a&quot;,&quot;b&quot;,&quot;10&quot;]}&apos;</span>
</code></pre>
<p>&#x63A7;&#x5236;&#x53F0;&#x8F93;&#x51FA;&#x5982;&#x4E0B;&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/20200218173938790.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;">
&#x91CD;&#x65B0;&#x67E5;&#x8BE2;a&#x7684;&#x503C;&#x4E3A;80&#xFF0C;&#x66F4;&#x65B0;&#x6210;&#x529F;</p>
<p><img src="https://img-blog.csdnimg.cn/20200218173957223.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x5C06;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x4FEE;&#x6539;&#x4E3A; &quot;AND(&apos;Org1MSP.member&apos;,&apos;Org2MSP.member&apos;)&quot;</p>
<pre><code class="lang-bash"> peer lifecycle chaincode approveformyorg  --signature-policy <span class="hljs-string">&quot;AND(&apos;Org1MSP.member&apos;,&apos;Org2MSP.member&apos;)&quot;</span> --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem --channelID mychannel --name mycc --version 1 --init-required --package-id mycc_1:4ad799ccef18d596f8c175fe1849cadc63f92a5efb1e7332712fbb2827a2ec6f --sequence 3 --waitForEvent
</code></pre>
<pre><code class="lang-bash"> peer lifecycle chaincode commit -o orderer.example.com:7050 --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem --channelID mychannel --name mycc --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0.org2.example.com:9051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt --version 1 --sequence 3 --init-required    --signature-policy <span class="hljs-string">&quot;AND(&apos;Org1MSP.member&apos;,&apos;Org2MSP.member&apos;)&quot;</span>
</code></pre>
<p>&#x540C;&#x6837;&#x53EA;&#x8BBE;&#x7F6E;peer0.org1.example.com&#x8282;&#x70B9;&#xFF0C;&#x91CD;&#x65B0;invoke&#xFF0C;&#x67E5;&#x770B;&#x8282;&#x70B9;&#x65E5;&#x5FD7;&#x7ED3;&#x679C;&#x5982;&#x4E0B;&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/20200218174036456.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p><code>ERRO 0ed VSCC error: stateBasedValidator.Validate failed, err validation of endorsement policy for chaincode mycc in tx 15:0 failed: signature set did not satisfy policy</code></p>
<p>&#x4E0D;&#x6EE1;&#x8DB3;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#xFF0C;&#x56E0;&#x4E3A;&#x6211;&#x4EEC;&#x5DF2;&#x7ECF;&#x91CD;&#x65B0;&#x8BBE;&#x7F6E;&#x4E3A;&quot;AND(&apos;Org1MSP.member&apos;,&apos;Org2MSP.member&apos;)&quot;</p>
<p>&#x63A5;&#x4E0B;&#x6765;&#xFF0C;&#x6211;&#x4EEC;&#x901A;&#x8FC7;&#x8BBE;&#x7F6E;&#x952E;&#x7EA7;&#x522B;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x7684;&#x65B9;&#x6CD5;&#xFF0C;&#x5C06;&#x4E0A;&#x9762;&#x64CD;&#x4F5C;&#x5B8C;&#x6210;</p>
<h3 id="32-&#x952E;&#x7EA7;&#x522B;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x8BBE;&#x7F6E;">3.2 &#x952E;&#x7EA7;&#x522B;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x8BBE;&#x7F6E;</h3>
<p>&#x952E;&#x7EA7;&#x522B;&#x7684;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x662F;&#x901A;&#x8FC7;&#x667A;&#x80FD;&#x5408;&#x7EA6;&#x5185;&#x90E8;&#x8C03;&#x7528;SDK&#x5B8C;&#x6210;</p>
<p>shim&#x5305;&#x63D0;&#x4F9B;&#x4E86;&#x4EE5;&#x4E0B;&#x7684;&#x51FD;&#x6570;&#x8BBE;&#x7F6E;&#x6216;&#x8005;&#x6062;&#x590D;&#x952E;&#x5BF9;&#x5E94;&#x7684;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x3002;&#x4E0B;&#x9762;&#x7684;ep&#x4EE3;&#x8868;&#x662F;&#x201C;endorsement policy&#x201D;&#x7684;&#x7F29;&#x5199;&#x3002;
<img src="https://img-blog.csdnimg.cn/20200218174101358.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x5BF9;&#x4E8E;&#x79C1;&#x6709;&#x6570;&#x636E;&#xFF0C;&#x4EE5;&#x4E0B;&#x529F;&#x80FD;&#x9002;&#x7528;&#xFF1A;
<img src="https://img-blog.csdnimg.cn/20200218174107564.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>Go shim&#x63D0;&#x4F9B;&#x4E86;&#x6269;&#x5C55;&#x529F;&#x80FD;&#xFF0C;&#x5141;&#x8BB8;&#x94FE;&#x7801;&#x5F00;&#x53D1;&#x4EBA;&#x5458;&#x6839;&#x636E;&#x7EC4;&#x7EC7;&#x7684;MSP&#x6807;&#x8BC6;&#x7B26;&#x6765;&#x5904;&#x7406;&#x8BA4;&#x53EF;&#x7B56;&#x7565;
<img src="https://img-blog.csdnimg.cn/20200218174112815.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x6839;&#x636E;&#x5B98;&#x65B9;&#x7ED9;&#x7684;&#x8BF4;&#x660E;
&#x5047;&#x5982;&#x9700;&#x8981;&#x4E24;&#x4E2A;&#x7279;&#x5B9A;&#x7EC4;&#x7EC7;&#x6765;&#x6279;&#x51C6;key&#x66F4;&#x6539;&#xFF0C;&#x8BBE;&#x7F6E;key&#x7684;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#xFF0C;&#x8BF7;&#x5C06;&#x4E24;&#x4E2A;org&#x90FD;&#x4F20;&#x9012;MSPIDs&#x7ED9;AddOrgs()&#xFF0C;&#x7136;&#x540E;&#x8C03;&#x7528;Policy()&#x6784;&#x9020;&#x53EF;&#x4EE5;&#x4F20;&#x9012;&#x7ED9;&#x7684;&#x8BA4;&#x53EF;&#x7B56;&#x7565;&#x5B57;&#x8282;&#x6570;&#x7EC4;SetStateValidationParameter()
&#x63A5;&#x4E0B;&#x6765;&#x6211;&#x4EEC;&#x8FDB;&#x884C;&#x5B9E;&#x8DF5;</p>
<h4 id="321-&#x7F16;&#x8F91;&#x5408;&#x7EA6;&#x63D0;&#x4F9B;&#x4FEE;&#x6539;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x65B9;&#x6CD5;">3.2.1 &#x7F16;&#x8F91;&#x5408;&#x7EA6;&#x63D0;&#x4F9B;&#x4FEE;&#x6539;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x65B9;&#x6CD5;</h4>
<p>&#x9996;&#x5148;&#x5BFC;&#x5165;&#x76F8;&#x5173;&#x4F9D;&#x8D56;&#x5305;
<img src="https://img-blog.csdnimg.cn/20200218174118973.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x65B0;&#x589E;function &#x8BBE;&#x7F6E;&#x80CC;&#x4E66;&#x7B56;&#x7565;</p>
<p><img src="https://img-blog.csdnimg.cn/20200218174124300.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>endorsement&#x5177;&#x4F53;&#x5B9E;&#x73B0;&#x5982;&#x4E0B;&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/20200218174130426.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;">
&#x7531;&#x4E8E;&#x65B0;&#x589E;&#x4E86;&#x5F15;&#x5165;&#x5305;&#xFF0C;&#x5148;&#x4E0B;&#x8F7D;&#x4F9D;&#x8D56;
&#x8FDB;&#x5165;&#x5408;&#x7EA6;&#x76EE;&#x5F55;&#x8F93;&#x5165;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;</p>
<pre><code class="lang-bash"> go mod vendor
</code></pre>
<p><img src="https://img-blog.csdnimg.cn/20200218174140682.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<h4 id="322-&#x5347;&#x7EA7;&#x5408;&#x7EA6;">3.2.2 &#x5347;&#x7EA7;&#x5408;&#x7EA6;</h4>
<p>&#x53C2;&#x8003;
<a href="https://blog.csdn.net/qq_28540443/article/details/104335498" target="_blank">Fabric2.0 &#x667A;&#x80FD;&#x5408;&#x7EA6;&#x5B9E;&#x8DF5;- &#x5347;&#x7EA7;&#x667A;&#x80FD;&#x5408;&#x7EA6;</a></p>
<h4 id="323-&#x9A8C;&#x8BC1;&#x80CC;&#x4E66;&#x7B56;&#x7565;">3.2.3 &#x9A8C;&#x8BC1;&#x80CC;&#x4E66;&#x7B56;&#x7565;</h4>
<p>&#x8BBE;&#x7F6E;a&#x7684;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x4E3A; AND(&quot;Org1MSP.member&quot;,&quot;Org2MSP.member&quot;) </p>
<pre><code class="lang-bash">peer chaincode invoke -o orderer.example.com:7050 --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C mychannel -n mycc --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0.org2.example.com:9051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt  -c  <span class="hljs-string">&apos;{&quot;Args&quot;:[&quot;endorsement&quot;,&quot;a&quot;,&quot;Org1MSP&quot;,&quot;add&quot;]}&apos;</span>
</code></pre>
<pre><code class="lang-bash">peer chaincode invoke -o orderer.example.com:7050 --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C mychannel -n mycc --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0.org2.example.com:9051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt  -c  <span class="hljs-string">&apos;{&quot;Args&quot;:[&quot;endorsement&quot;,&quot;a&quot;,&quot;Org2MSP&quot;,&quot;add&quot;]}&apos;</span>
</code></pre>
<p><img src="https://img-blog.csdnimg.cn/20200218174232892.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x67E5;&#x770B;peer&#x65E5;&#x5FD7;&#xFF0C;&#x4EA4;&#x6613;&#x6210;&#x529F;</p>
<p><img src="https://img-blog.csdnimg.cn/2020021817424054.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x53EA;&#x8BBE;&#x7F6E;peer0.org1&#x8282;&#x70B9;&#x4F5C;&#x4E3A;&#x80CC;&#x4E66;&#x8282;&#x70B9;</p>
<pre><code class="lang-bash"> peer chaincode invoke -o orderer.example.com:7050 --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C mychannel -n mycc --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt  -c <span class="hljs-string">&apos;{&quot;Args&quot;:[&quot;addTen&quot;,&quot;a&quot;]}&apos;</span>
</code></pre>
<p>&#x67E5;&#x770B;&#x8282;&#x70B9;&#x65E5;&#x5FD7;&#x5982;&#x4E0B;&#xFF0C;&#x63D0;&#x793A;&#x4E0D;&#x6EE1;&#x8DB3;&#x7B56;&#x7565;&#xFF0C;&#x56E0;&#x4E3A;&#x524D;&#x9762;&#x8BBE;&#x7F6E;&#x7684;&#x662F;AND(&quot;Org1MSP.member&quot;,&quot;Org2MSP.member&quot;) 
<img src="https://img-blog.csdnimg.cn/20200218174251577.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x4FEE;&#x6539;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#xFF0C;&#x5220;&#x9664;Org2MSP</p>
<pre><code class="lang-bash">peer chaincode invoke -o orderer.example.com:7050 --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C mychannel -n mycc --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0.org2.example.com:9051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt  -c  <span class="hljs-string">&apos;{&quot;Args&quot;:[&quot;endorsement&quot;,&quot;a&quot;,&quot;Org2MSP&quot;,&quot;del&quot;]}&apos;</span>
</code></pre>
<p>&#x4FEE;&#x6539;&#x6210;&#x529F;
<img src="https://img-blog.csdnimg.cn/20200218174405767.png" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x91CD;&#x65B0;&#x6267;&#x884C;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;&#xFF1A;</p>
<pre><code class="lang-bash"> peer chaincode invoke -o orderer.example.com:7050 --tls <span class="hljs-literal">true</span> --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C mychannel -n mycc --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt  -c <span class="hljs-string">&apos;{&quot;Args&quot;:[&quot;addTen&quot;,&quot;a&quot;]}&apos;</span>
</code></pre>
<p>&#x4FEE;&#x6539;a&#x503C;&#x4ECE;110&#x53D8;&#x6210;120&#xFF0C;&#x6267;&#x884C;&#x6210;&#x529F;
<img src="https://img-blog.csdnimg.cn/20200218174412222.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI4NTQwNDQz,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<h2 id="4&#x603B;&#x7ED3;">4.&#x603B;&#x7ED3;</h2>
<p>&#x7ECF;&#x8FC7;&#x5B9E;&#x8DF5;&#xFF0C;&#x5408;&#x7EA6;&#x7684;approve&#x8DDF;commit&#x662F;&#x660E;&#x663E;&#x6709;&#x95EE;&#x9898;&#x7684;&#xFF0C;&#x4F1A;&#x51FA;&#x73B0;approve&#x5B8C;&#x6210;&#x540E;&#xFF0C;checkcommit&#x8FD8;&#x662F;false,&#x4F46;&#x662F;&#x6700;&#x7EC8;&#x8FD8;&#x662F;&#x53EF;&#x4EE5;commit&#x6210;&#x529F;&#x7684;&#x60C5;&#x51B5;&#xFF0C;&#x8FD9;&#x65F6;&#x5019;&#x53EA;&#x8981;commit&#x6210;&#x529F;&#x5C31;&#x884C;&#x4E86;&#x3002;&#x4EE5;&#x4E0A;&#x8FD9;&#x4E00;&#x70B9;&#x662F;&#x6BD4;&#x8F83;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x7684;&#x3002;Fabric2.0&#x7075;&#x6D3B;&#x7684;&#x80CC;&#x4E66;&#x7B56;&#x7565;&#x914D;&#x8FD8;&#x662F;&#x53EF;&#x4EE5;&#x7684;&#xFF0C;&#x9700;&#x8981;chaincode&#x6E90;&#x7801;&#x7559;&#x4E0B;&#x8BC4;&#x8BBA;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="chap8.html" class="navigation navigation-prev " aria-label="Previous page: 升级智能合约">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="chap10.html" class="navigation navigation-next " aria-label="Next page: 调试go智能合约">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"智能合约设置背书策略","level":"1.4.3","depth":2,"next":{"title":"调试go智能合约","level":"1.4.4","depth":2,"path":"chap10.md","ref":"chap10.md","articles":[]},"previous":{"title":"升级智能合约","level":"1.4.2","depth":2,"path":"chap8.md","ref":"chap8.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chap9.md","mtime":"2020-03-12T03:45:24.603Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-12T04:26:38.647Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

